package com.gzsxy.builder.demo1;



/**
 * @author xiaolong
 * @version 1.0
 * @description: 抽象的建造者：方法
 * @date 2022/4/10 21:45
 */
public abstract class Builder {
    /**
     * @description: 汉堡
     */
    abstract Builder buildA(String msg);

    /**
     * @description: 可乐
     */
    abstract Builder buildB(String msg);

    /**
     * @description: 薯条
     */
    abstract Builder buildC(String msg);

    /**
     * @description: 甜点
     */
    abstract Builder buildD(String msg);

    /**
     * @description: 完工：得到产品
     */
    abstract Product getProduct();
}
